package com.lwl.service;

import com.github.pagehelper.PageInfo;
import com.lwl.entity.MyPage;
import com.lwl.entity.sas.TQuestionSas;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface TQuestionSasService {

    PageInfo queryAll(MyPage myPage, TQuestionSas tQuestionSas);

    boolean insertQuestion(TQuestionSas tQuestionSas);

    boolean queryQuestion(String question);

    boolean deleteQuestion(Integer id);

    boolean uploadExcel(MultipartFile file);

    PageInfo getAll(MyPage myPage);

    boolean dealFile(MultipartFile file);

    void save(List<TQuestionSas> list);
}
